<template>
  <view class="viewLogistics">
    <div class="viewheader">
      <u-tabs :list="list1" @click="click"></u-tabs>
    </div>
    <div class="viewmain">
      <div class="maintop">
        <img src="../../static/icones/icon11.png" alt="" /><span>顺丰速运</span
        ><span>SF1131223230323</span><view class="copys">复制</view>
      </div>
      <div class="addresstop">
        <div class="address-header">
          <div class="name">
            <span class="over">收货</span
            ><span class="receiver">{{ info.receiver || "张三哥" }}</span>
            {{ info.telephone || "13625462542" }}
          </div>
        </div>
        <div class="address-text">
          {{ info.address || "广东省广州市天河区华观路天虹科技园" }}
        </div>
      </div>
      <view class="addresslist">
        <u-gap height="80" bgColor="#bbb"></u-gap>
      </view>
    </div>
  </view>
</template>
<script>
export default {
  data() {
    return {
      list1: [
        {
          name: "发货物流",
        },
        {
          name: "归还物流",
        },
      ],
      list2: [
        {
          title: "买家下单",
          desc: "2018-11-11",
        },
        {
          title: "卖家发货",
          desc: "2018-11-12",
        },
        {
          title: "买家签收",
          desc: "2018-11-13",
        },
        {
          title: "交易完成",
          desc: "2018-11-14",
        },
      ],
    };
  },
};
</script>
<style lang="scss" scoped>
.viewLogistics {
  width: 100vw;
  height: 100vh;
  background-color: #f5f5f5;
  .viewheader {
    width: 100%;
    height: 44px;
    background-color: #fff;
    display: flex;
    justify-content: space-evenly;
  }
  .viewmain {
    width: 100%;
    height: 100%;
    padding: 12px 12px 0;
    .maintop {
      width: 100%;
      height: 51px;
      background-color: #fff;
      box-shadow: 0px 8px 30px 0px rgba(0, 0, 0, 0.02);
      border-radius: 10px;
      display: flex;
      align-items: center;
      padding: 0 15px;
      margin-bottom: 12px;
      img {
        width: 18px;
        height: 18px;
      }
      span {
        font-size: 14px;
        color: #6d6d6d;
        padding: 0 5px;
      }
      .copys {
        width: 40px;
        height: 24px;
        font-size: 12px;
        color: #3d3d3d;
        text-align: center;
        line-height: 24px;
        background-color: #f5f5f5;
      }
    }
    .addresstop {
      width: 100%;
      min-height: 71px;
      background-color: #fff;
      box-shadow: 0px 8px 30px 0px rgba(0, 0, 0, 0.02);
      border-radius: 10px;
      padding: 0 15px;
      color: #3d3d3d;
      font-size: 14px;
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
      margin-bottom: 12px;
      .address-header {
        .over {
          width: 34px;
          height: 21px;
          background-color: #f5f5f5;
          font-size: 12px;
          text-align: center;
          line-height: 21px;
          color: #157afe;
        }
        .receiver {
          padding: 0 10px;
        }
      }
      .address-text {
        font-size: 12px;
      }
    }
    .addresslist {
      width: 100%;
      min-height: 200px;
      background-color: #fff;
      box-shadow: 0px 8px 30px 0px rgba(0, 0, 0, 0.02);
      border-radius: 10px;
      padding: 0 15px;
    }
  }
}
</style>
